/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.dataconverter.util;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author Ronen Filho
 */
public class DataColumn {

	private String header;
	private List<Object> values = new ArrayList<Object>();
	private DataType dataType;

	/**
	 * @param header
	 * @param dataType
	 * @param values
	 */
	public DataColumn(String header, DataType dataType, List<Object> values) {
		super();
		this.header = header;
		this.dataType = dataType;
		this.values = values;
	}

	public DataColumn() {
		/*
		 * Refatorar usar o construtor DataComumn
		 */
	}

	/**
	 * @return the header
	 */
	public String getHeader() {
		return header;
	}

	/**
	 * @param header the header to set
	 */
	public void setHeader(String header) {
		this.header = header;
	}

	public List<Object> getValues() {
		return values;
	}

	/**
	 * 
	 * @param value
	 */
	public void addValue(Object value) {
		this.values.add(value);
	}

	/**
	 * 
	 * @return the dataType
	 */
	public DataType getDataType() {
		return dataType;
	}

	/**
	 * @param dataType the dataType to set
	 */
	public void setDataType(DataType dataType) {
		this.dataType = dataType;
	}
}
